<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<div class="container-fluid">
	<div class="row-fluid">
		<div class="span2"></div>
		<div class="span8">
			<table class="table">
				<caption></caption>
				<thead>
					<tr>
						<th></th>
						<th></th>
						<th></th>
					</tr>
				</thead>
				<tbody>
					<s:iterator value="searchlist">
						<tr>
							<td><i class="icon-calendar"></i> <s:property
									value="adventuredate" /><br /> <i class="icon-globe"></i> <s:property
									value="adventurelocation" /></td>
							<td><h4>
									<s:property value="adventuretitle" />
								</h4> <br />
							<a
								href="viewadventure?adventureid=<s:property value="adventureid"/>&adventuretype=<s:property value="adventuretype"/>"
								Class="btn btn-success" target="_blank">View Details</a></td>
							<td> 
							<a
								href="activateadventure?adventureid=<s:property value="adventureid"/>&adventuretype=<s:property value="adventuretype"/>"
								Class="btn btn-danger">Activate</a>
								<br /><br />
								<a
								href="canceladventure?adventureid=<s:property value="adventureid"/>&adventuretype=<s:property value="adventuretype"/>"
								Class="btn btn-inverse">Cancel</a>
							</td>
						</tr>
					</s:iterator>
				</tbody>
			</table>
		</div>
		<div class="span2"></div>
	</div>
</div>
